#include "define.h"
#include <stdbool.h>
#include <allegro5/allegro5.h>
#include <allegro5/allegro_image.h>

typedef struct
{
    bool playing;
    ALLEGRO_BITMAP* _sheet;
    int crt_frame;
} EAT_BUBBLE;

typedef struct
{
    bool playing;
    ALLEGRO_BITMAP* _sheet;
    int crt_frame;
} CHECKMATE_BUBBLE;

typedef struct
{
    bool win;
    bool win_side;
    ALLEGRO_BITMAP* _sheet[2];
} WIN_TEXTS;


void excursion_init();
void eat_bubble_init();
void checkmate_bubble_init();
void eat_bubble_update();
void checkmate_bubble_update();
void eat_bubble_draw();
void checkmate_bubble_draw();
void win_texts_init();
void win_texts_draw();